<template>
    <div class="main">
      <p><span>客户状态:</span>
        <select>
          <option value="0">全部</option>
          <option value="1">申请中</option>
          <option value="2">已驳回</option>
        </select>
      </p>
      <template>
        <div class="block">
            <span>时间:</span>
          <el-date-picker
            v-model="value2"
            type="datetimerange"
            align="right"
            start-placeholder="开始日期"
            end-placeholder="结束日期"
            :default-time="['12:00:00', '08:00:00']"
          >
          </el-date-picker>
        </div>
      </template>
    </div>
</template>
 <script>
 export default {
     data() {
      return {
        value2: '',
      };
    },
 }
 </script>
<style lang="scss" scoped>
   .main{
    height: 70px;
    margin-top: 20px;
    background: lemonchiffon;
    padding-top: 30px;
}
.main p{
    float: left; 
    margin: 10px;
}
.block{
    margin-left: 180px;
}
</style>